import * as TYPES from "./types";
import * as CONSTANTS from "@/constants/index";

export function setToken(token: string): TYPES.iSetTokenAction {
  return {
    type: CONSTANTS.ACTION_SETTOKEN,
    payload: {
      token,
    }
  }
}